import request from '../../utils/request';
/**
 * 配置桥梁路线的布跨信息
 */
export function configBridgeRoadSpans(params){
    
    return request('/design/span/add', {
        method: 'post',
        data: params
    });
}

/**
 * 获取桥梁构造物初始信息
 */
export function getBridgeRoadSpans(params){
    return request('/design/span/calculateList', {
        method: 'post',
        data: params
    });
}
/**
 * 获取指定桥梁布跨
 */
export function getBridgeSpansById(params){
    return request('/design/span/list', {
        method: 'post',
        data: params
    });
}
/**
 * 获取联信息
 */
export function getSelections(params){
    return request('/design/selection/list', {
        method: 'post',
        data: params
    });
}
/**
 * 获取上部联信息
 */
export function getTopSelections(params){
    return request('/design/componentInstance/getTopDefinitionInstanceBySelectionList', {
        method: 'post',
        data: params
    });
}


